package com.meilian.param;

import lombok.Data;
import org.jetbrains.annotations.NotNull;

import java.util.List;

//类别商品展示
@Data
public class ProductIdsParam {

    @NotNull
    private List<Integer> categoryID;

    public ProductIdsParam(@NotNull List<Integer> categoryID, int currentPage, int pageSize) {
        this.categoryID = categoryID;
        this.currentPage = currentPage;
        this.pageSize = pageSize;
    }

    public ProductIdsParam() {
    }

    private int currentPage =1;//默认值1
    private int pageSize =15;//默认值15
}
